package com.lnsf.model;

public class Goods {

	private int gId;
	private int shId;
	private String gName;
	private String gDescription;
	private float suppPrice;
	private float salesPrice;
	private float discount;
	private int mark;
	public int getgId() {
		return gId;
	}
	public void setgId(int gId) {
		this.gId = gId;
	}
	public int getShId() {
		return shId;
	}
	public void setShId(int shId) {
		this.shId = shId;
	}
	public String getgName() {
		return gName;
	}
	public void setgName(String gName) {
		this.gName = gName;
	}
	public String getgDescription() {
		return gDescription;
	}
	public void setgDescription(String gDescription) {
		this.gDescription = gDescription;
	}
	public float getSuppPrice() {
		return suppPrice;
	}
	public void setSuppPrice(float suppPrice) {
		this.suppPrice = suppPrice;
	}
	public float getSalesPrice() {
		return salesPrice;
	}
	public void setSalesPrice(float salesPrice) {
		this.salesPrice = salesPrice;
	}
	public float getDiscount() {
		return discount;
	}
	public void setDiscount(float discount) {
		this.discount = discount;
	}
	public int getMark() {
		return mark;
	}
	public void setMark(int mark) {
		this.mark = mark;
	}
	public Goods(int gId, int shId, String gName, String gDescription, float suppPrice, float salesPrice,
			float discount, int mark) {
		super();
		this.gId = gId;
		this.shId = shId;
		this.gName = gName;
		this.gDescription = gDescription;
		this.suppPrice = suppPrice;
		this.salesPrice = salesPrice;
		this.discount = discount;
		this.mark = mark;
	}
	@Override
	public String toString() {
		return  gId +"\t\t"+ shId  +"\t\t"+ gName +"\t\t"+ gDescription+"\t"
				+ suppPrice+"\t\t" + salesPrice+"\t\t" + discount +"\t"+ mark;
	}


}
